/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Clases;

/**
 *
 * @author Johannita
 */
public class Cuenta {
    private int idcuenta;
    private int idpersona;
    private String user;
    private String password;
    
    public void Cuenta(){}

    public int getIdcuenta() {
        return idcuenta;
    }

    public String getPassword() {
        return password;
    }

    public int getIdpersona() {
        return idpersona;
    }

    public void setIdpersona(int idpersona) {
        this.idpersona = idpersona;
    }

    public String getUser() {
        return user;
    }
    
    public void setIdcuenta(int idcuenta) {
        this.idcuenta = idcuenta;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    
    public void setUser(String user) {
        this.user = user;
    }
    public void insertar(int idpersona,String user, String password){
        this.setIdpersona(idpersona);
        this.setUser(user);
        this.setPassword(password);
    }
    
}
